package com.cdut.domain;

public class YearPrice {
    private int year;
    private int yearavgeprice; //价格

    public YearPrice(int year, int yearavgeprice) {
        this.year = year;
        this.yearavgeprice = yearavgeprice;
    }

    public YearPrice() {
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getYearavgeprice() {
        return yearavgeprice;
    }

    public void setYearavgeprice(int yearavgeprice) {
        this.yearavgeprice = yearavgeprice;
    }

    @Override
    public String toString() {
        return "YearPrice{" +
                "year=" + year +
                ", yearavgeprice=" + yearavgeprice +
                '}';
    }
}
